.class Les/o70$a;
.super Ljava/lang/Object;
.source "RecvTask.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Les/o70;->y()Z
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Les/o70;


# direct methods
.method constructor <init>(Les/o70;)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/o70$a;->a:Les/o70;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 10

    .line 1
    invoke-static {}, Lcom/estrongs/android/pop/esclasses/ESActivity;->z()Landroid/app/Activity;

    move-result-object v0

    if-nez v0, :cond_0

    return-void

    .line 2
    :cond_0
    new-instance v0, Lcom/estrongs/android/ui/dialog/q;

    invoke-static {}, Lcom/estrongs/android/pop/esclasses/ESActivity;->z()Landroid/app/Activity;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/estrongs/android/ui/dialog/q;-><init>(Landroid/content/Context;)V

    .line 3
    invoke-static {}, Lcom/estrongs/android/pop/esclasses/ESActivity;->z()Landroid/app/Activity;

    move-result-object v1

    invoke-static {v1}, Lcom/estrongs/android/pop/esclasses/h;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v1

    const v2, 0x7f0c00f0

    const/4 v3, 0x0

    .line 4
    invoke-virtual {v1, v2, v3}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v1

    .line 5
    invoke-virtual {v0, v1}, Lcom/estrongs/android/ui/dialog/q;->setContentView(Landroid/view/View;)V

    const v2, 0x7f11044d

    .line 6
    invoke-virtual {v0, v2}, Lcom/estrongs/android/ui/dialog/q;->setTitle(I)V

    const v2, 0x7f0907bc

    .line 7
    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    .line 8
    iget-object v3, p0, Les/o70$a;->a:Les/o70;

    invoke-static {v3}, Les/o70;->a(Les/o70;)Les/o70$d;

    move-result-object v3

    iget v3, v3, Les/o70$d;->c:I

    const/4 v4, 0x0

    const/4 v5, 0x2

    const/4 v6, 0x1

    if-ne v3, v6, :cond_1

    .line 9
    iget-object v3, p0, Les/o70$a;->a:Les/o70;

    invoke-static {v3}, Les/o70;->b(Les/o70;)Landroid/app/Activity;

    move-result-object v3

    const v7, 0x7f11044b

    invoke-virtual {v3, v7}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v3

    new-array v7, v5, [Ljava/lang/Object;

    .line 10
    iget-object v8, p0, Les/o70$a;->a:Les/o70;

    invoke-static {v8}, Les/o70;->c(Les/o70;)Ljava/lang/String;

    move-result-object v8

    aput-object v8, v7, v4

    iget-object v4, p0, Les/o70$a;->a:Les/o70;

    invoke-static {v4}, Les/o70;->a(Les/o70;)Les/o70$d;

    move-result-object v4

    iget-wide v8, v4, Les/o70$d;->e:J

    invoke-static {v8, v9}, Lcom/estrongs/fs/util/f;->g(J)Ljava/lang/String;

    move-result-object v4

    aput-object v4, v7, v6

    invoke-static {v3, v7}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0

    .line 11
    :cond_1
    iget-object v3, p0, Les/o70$a;->a:Les/o70;

    invoke-static {v3}, Les/o70;->b(Les/o70;)Landroid/app/Activity;

    move-result-object v3

    const v7, 0x7f11044c

    invoke-virtual {v3, v7}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v3

    const/4 v7, 0x3

    new-array v7, v7, [Ljava/lang/Object;

    .line 12
    iget-object v8, p0, Les/o70$a;->a:Les/o70;

    invoke-static {v8}, Les/o70;->c(Les/o70;)Ljava/lang/String;

    move-result-object v8

    aput-object v8, v7, v4

    iget-object v4, p0, Les/o70$a;->a:Les/o70;

    invoke-static {v4}, Les/o70;->a(Les/o70;)Les/o70$d;

    move-result-object v4

    iget v4, v4, Les/o70$d;->c:I

    invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v4

    aput-object v4, v7, v6

    iget-object v4, p0, Les/o70$a;->a:Les/o70;

    invoke-static {v4}, Les/o70;->a(Les/o70;)Les/o70$d;

    move-result-object v4

    iget-wide v8, v4, Les/o70$d;->e:J

    invoke-static {v8, v9}, Lcom/estrongs/fs/util/f;->g(J)Ljava/lang/String;

    move-result-object v4

    aput-object v4, v7, v5

    invoke-static {v3, v7}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_0
    const v2, 0x7f090564

    .line 13
    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    .line 14
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, ""

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v4, p0, Les/o70$a;->a:Les/o70;

    invoke-static {v4}, Les/o70;->a(Les/o70;)Les/o70$d;

    move-result-object v4

    iget-object v4, v4, Les/o70$d;->g:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v2, 0x7f0908b8

    .line 15
    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    .line 16
    iget-object v2, p0, Les/o70$a;->a:Les/o70;

    invoke-static {v2}, Les/o70;->d(Les/o70;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 17
    iget-object v1, p0, Les/o70$a;->a:Les/o70;

    invoke-static {v1}, Les/o70;->a(Les/o70;)Les/o70$d;

    move-result-object v1

    iget v1, v1, Les/o70$d;->c:I

    const v2, 0x7f110299

    const v3, 0x7f110057

    if-ne v1, v6, :cond_2

    iget-object v1, p0, Les/o70$a;->a:Les/o70;

    invoke-static {v1}, Les/o70;->a(Les/o70;)Les/o70$d;

    move-result-object v1

    iget v1, v1, Les/o70$d;->b:I

    if-eq v1, v5, :cond_2

    .line 18
    iget-object v1, p0, Les/o70$a;->a:Les/o70;

    invoke-static {v1}, Les/o70;->b(Les/o70;)Landroid/app/Activity;

    move-result-object v1

    invoke-virtual {v1, v2}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v1

    new-instance v2, Les/o70$a$a;

    invoke-direct {v2, p0}, Les/o70$a$a;-><init>(Les/o70$a;)V

    invoke-virtual {v0, v1, v2}, Lcom/estrongs/android/ui/dialog/q;->setLeftButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/widget/Button;

    .line 19
    iget-object v1, p0, Les/o70$a;->a:Les/o70;

    invoke-static {v1}, Les/o70;->b(Les/o70;)Landroid/app/Activity;

    move-result-object v1

    const v2, 0x7f110056

    invoke-virtual {v1, v2}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v1

    new-instance v2, Les/o70$a$b;

    invoke-direct {v2, p0}, Les/o70$a$b;-><init>(Les/o70$a;)V

    invoke-virtual {v0, v1, v2}, Lcom/estrongs/android/ui/dialog/q;->setMiddleButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/widget/Button;

    .line 20
    iget-object v1, p0, Les/o70$a;->a:Les/o70;

    invoke-static {v1}, Les/o70;->b(Les/o70;)Landroid/app/Activity;

    move-result-object v1

    invoke-virtual {v1, v3}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v1

    new-instance v2, Les/o70$a$c;

    invoke-direct {v2, p0}, Les/o70$a$c;-><init>(Les/o70$a;)V

    invoke-virtual {v0, v1, v2}, Lcom/estrongs/android/ui/dialog/q;->setRightButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/widget/Button;

    goto :goto_1

    .line 21
    :cond_2
    iget-object v1, p0, Les/o70$a;->a:Les/o70;

    invoke-static {v1}, Les/o70;->b(Les/o70;)Landroid/app/Activity;

    move-result-object v1

    invoke-virtual {v1, v3}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v1

    new-instance v3, Les/o70$a$d;

    invoke-direct {v3, p0}, Les/o70$a$d;-><init>(Les/o70$a;)V

    invoke-virtual {v0, v1, v3}, Lcom/estrongs/android/ui/dialog/q;->setConfirmButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/widget/Button;

    .line 22
    iget-object v1, p0, Les/o70$a;->a:Les/o70;

    invoke-static {v1}, Les/o70;->b(Les/o70;)Landroid/app/Activity;

    move-result-object v1

    invoke-virtual {v1, v2}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v1

    new-instance v2, Les/o70$a$e;

    invoke-direct {v2, p0}, Les/o70$a$e;-><init>(Les/o70$a;)V

    invoke-virtual {v0, v1, v2}, Lcom/estrongs/android/ui/dialog/q;->setCancelButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/widget/Button;

    .line 23
    :goto_1
    invoke-virtual {v0}, Lcom/estrongs/android/ui/dialog/q;->show()V

    return-void
.end method
